<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex benben-position-layout flex flex-wrap align-center taskList_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center justify-between flex-sub taskList_fd0_0'      >
            <view   class='flex flex-wrap align-center taskList_fd0_0_c0'   @tap="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  taskList_fd0_0_c0_c0'  >&#xE794;</text>
</view>
    <view   class='flex flex-wrap align-stretch justify-center'      >
        <text class='taskList_fd0_0_c1_c0'  >任务列表</text>
</view>
    <view   class='flex flex-wrap align-center justify-end taskList_fd0_0_c0'      >
        <image class='taskList_fd0_0_c2_c0'  mode="aspectFit"  :src='STATIC_URL+"447.png"' @tap="popupShow1690183849006=true" ></image>
</view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---flex布局flex布局开始-->
 <view class="flex flex-direction align-stretch benben-flex-layout"    >
            <view   class='flex flex-direction align-stretch justify-center taskList_fd1_0'      >
            <view   class='flex flex-direction align-center justify-center'      >
        <view class='flex benben-progress-bar taskList_fd1_0_c0_c0'  >
    <view  class='benben-progress-bar-center taskList_progress1_fd1_0_c0_c0' :style="{width: 50+'%'}"></view>
    
</view>
    <view   class='flex flex-wrap align-center taskList_fd1_0_c0_c1'      >
        <text   >20%</text>
<text class='taskList_fd1_0_c0_c1_c1'  >50%</text>
<text   >90%</text>
</view>
</view>
    <view   class='flex align-center taskList_fd1_0_c1'      >
            <view   class='flex flex-wrap align-center taskList_fd1_0_c1_c0'      >
        <text   >已观看</text>
<text   >3</text>
<text   >次广告，剩余</text>
<text   >3</text>
<text   >次即可完成任务</text>
</view>
<button class='taskList_fd1_0_c1_c1'   >看广告</button>
</view>
</view>
</view>
        
<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
 <view class="flex flex-direction align-stretch benben-flex-layout"    >
            <view   class='flex flex-wrap align-center taskList_fd2_0'      >
            <view   class='flex flex-direction align-stretch flex-sub taskList_fd2_0_c0'      >
        <text class='taskList_fd2_0_c0_c0'  >星星包</text>
    <view   class='flex flex-wrap align-center taskList_fd2_0_c0_c1'      >
        <text   >可兑换</text>
<text   >6</text>
<text   >次</text>
</view>
    <view   class='flex flex-wrap align-center taskList_fd2_0_c0_c2'      >
        <text   >可反还</text>
<text   >13.5</text>
<text   >积分</text>
</view>
</view>
<button class='taskList_fd2_0_c1'  @tap="pickerDiy1691649676522=true" v-if= " type==0" >点击兑换</button><button class='taskList_fd2_0_c1_1'   v-if= " type=='1'" >兑换完毕</button>
</view>
</view>
        
<!---flex布局flex布局结束-->
<benben-popup v-model="popupShow1690183849006" :mask="true" :mask-close-able="false"  mode='bottom' >
    <!---任务规则弹窗flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout taskList_flex_3"    >
            <view   class='flex flex-wrap align-center justify-between taskList_fd3_0'      >
            <view   class='flex flex-wrap align-center taskList_fd3_0_c0'      >
        </view>
    <view   class='flex flex-wrap align-center justify-center taskList_fd3_0_c1'      >
        <image class='taskList_fd3_0_c1_c0'  mode="aspectFit"  :src='STATIC_URL+"481.png"'></image>
<text class='taskList_fd3_0_c1_c1'  >任务规则</text>
<image class='taskList_fd3_0_c1_c0'  mode="aspectFit"  :src='STATIC_URL+"480.png"'></image>
</view>
<image class='taskList_fd3_0_c2'  mode="aspectFit"  :src='STATIC_URL+"129.png"' @tap="popupShow1690183849006=false" ></image>
</view>
    
    <scroll-view  class='taskList_fd3_1'  :scroll-y='true'  >
        <view class='flex benben-scroll flex align-center'    >
            <text class='taskList_fd3_1_c0'  >购买积分包，每天需要完成任务才可以返回积分，每天刷6个视频完成任务（这个是所有任务包都是统一的）刷完后不管当前存在几个任务，都是同时完成的。完成任务后立即返还积分。每天看完视频返还1/30,30天返还完毕。第二次 兑换，按31天计算，以此类推。</text>
</view>
    </scroll-view>
    
</view>
        
<!---任务规则弹窗flex布局结束-->
    
</benben-popup>
<!--兑换方式弹窗开始 -->
        <benben-picker ref="benbenWritePickerCodepicker4" :visible.sync="pickerDiy1691649676522" :value.sync='id' :options='industryType'  mode='selector' :mask-show='true' :timeout='true' :picker-height='88' default-type='value' :default-props='{"label":"name","value":"value"}'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between taskList_picker4_0'      >
        <text class='taskList_picker4_0_c0'  @tap="$refs.benbenWritePickerCodepicker4.cancel()" >取消</text>
<text   >兑换方式</text>
<text class='taskList_picker4_0_c2'  @tap="$refs.benbenWritePickerCodepicker4.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--兑换方式弹窗结束 -->
    
    
        </view>
    </view>
</template>
<script>
    
    export default {
        components:{},
        
        
        data(){
			return {"pickerDiy1691649676522":false,"popupShow1690183849006":false,"industryType":[{"name":"积分余额（300积分）","value":"1","image":""},{"name":"奖励积分余额（600积分）","value":"2","image":""}],"id":"346","type":"0"};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            let {id}=options
if (id !== undefined) this.id = id
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
            
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#F8F8F8;background-size: 100% auto;
        }
    .taskList_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .taskList_fd0_0_c2_c0{
        width:40rpx;height:40rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .taskList_fd0_0_c1_c0{
        font-size:36rpx;font-weight:700;color:#333;line-height:88rpx;
    }
    .taskList_fd0_0_c0_c0{
        font-size:36rpx;color:#333;
    }
    .taskList_fd0_0_c0{
        width:120rpx;
    }
    .taskList_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;
    }
    .taskList_fd1_0_c1_c1{
        background:var(--benbenbgColor7);border-radius:33rpx 33rpx 33rpx 33rpx;width:156rpx;line-height:56rpx;font-size:24rpx;color:#fff;height:56rpx;margin:0rpx 0rpx 0rpx auto;
    }
    .taskList_fd1_0_c1_c0{
        color:#BFBFBF;font-size:28rpx;line-height:40rpx;font-weight:500;
    }
    .taskList_fd1_0_c1{
        margin:8rpx 0rpx 12rpx 0rpx;padding:0rpx 32rpx 0rpx 32rpx;
    }
    .taskList_fd1_0_c0_c1_c1{
        margin:0rpx 133rpx 0rpx 133rpx;
    }
    .taskList_fd1_0_c0_c1{
        margin:10rpx 0rpx 0rpx 0rpx;color:#9A442A;font-size:24rpx;line-height:33rpx;font-weight:500;
    }
    .taskList_progress1_fd1_0_c0_c0{
        background:url(image-path('448.png')) no-repeat;border-radius:10rpx 10rpx 10rpx 10rpx;background-size:100% !important;
    }
    .taskList_fd1_0_c0_c0{
        background:rgba(225, 240, 230, 1);width:550rpx;height:24rpx;border-radius:17rpx;background-size:100% auto !important;
    }
    .taskList_fd1_0{
        padding:32rpx 0rpx 0rpx 0rpx;
    }
    .taskList_fd2_0_c1_1{
        background:var(--benbenbgColor5);border-radius:36rpx 36rpx 36rpx 36rpx;width:156rpx;line-height:56rpx;font-size:24rpx;color:var(--benbenFontColor5);height:56rpx;
    }
    .taskList_fd2_0_c1{
        background:var(--benbenbgColor7);border-radius:36rpx 36rpx 36rpx 36rpx;width:156rpx;line-height:56rpx;font-size:24rpx;color:#fff;height:56rpx;
    }
    .taskList_fd2_0_c0_c2{
        color:#BFBFBF;font-size:28rpx;line-height:40rpx;font-weight:500;
    }
    .taskList_fd2_0_c0_c1{
        margin:20rpx 0rpx 20rpx 0rpx;color:var(--benbenFontColor1);font-size:28rpx;line-height:40rpx;font-weight:500;
    }
    .taskList_fd2_0_c0_c0{
        color:#333333;font-size:28rpx;font-weight:600;line-height:40rpx;
    }
    .taskList_fd2_0_c0{
        margin:0rpx 24rpx 0rpx 0rpx;
    }
    .taskList_fd2_0{
        background:var(--benbenbgColor1);margin:20rpx 0rpx 0rpx 0rpx;background-size:100% auto !important;padding:32rpx 032rpx 032rpx 032rpx;
    }
    .taskList_flex_3{
        background:#fff;background-size:100% auto !important;border-radius:32rpx 32rpx 0rpx 0rpx;padding:40rpx 32rpx 45rpx 32rpx;
    }
    .taskList_fd3_1_c0{
        line-height:52rpx;font-size:26rpx;font-weight:400;color:#333;
    }
    .taskList_fd3_1{
        touch-action:none;height:300rpx;
    }
    .taskList_fd3_0_c2{
        width:40rpx;height:40rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .taskList_fd3_0_c1_c1{
        line-height:45rpx;font-size:36rpx;font-weight:700;color:#333;margin:0rpx 24rpx 0rpx 24rpx;
    }
    .taskList_fd3_0_c1_c0{
        width:32rpx;height:10rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .taskList_fd3_0_c1{
        position:relative;
    }
    .taskList_fd3_0_c0{
        height:40rpx;width:40rpx;
    }
    .taskList_fd3_0{
        margin:0rpx 0rpx 46rpx 0rpx;
    }
    .taskList_picker4_0_c2{
        color:var(--benbenFontColor5);
    }
    .taskList_picker4_0_c0{
        color:var(--benbenFontColor1);
    }
    .taskList_picker4_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:100rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;font-size:32rpx;
    }
</style>